package com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.education;

import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.education.dto.BusinessEmployeeEducationHistoryListCloudDto;
import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.education.param.BusinessEmployeeEducationHistoryCreateCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.education.param.BusinessEmployeeEducationHistoryDeleteCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.education.param.BusinessEmployeeEducationHistoryListCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.education.param.BusinessEmployeeEducationHistoryUpdateCloudParam;
import com.youkeyi.ddy.cloud.common.response.ResponseContent;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * BusinessEmployeeEducationHistoryCloudServiceFallback
 *
 * @Author liuxiawang
 * @Date 1/28/22 4:12 PM
 * @Location shenzhen.china
 */
@Component
@RequestMapping("/business/employee/education/history/fallback")
public class BusinessEmployeeEducationHistoryCloudServiceFallback implements BusinessEmployeeEducationHistoryCloudService {

    @Override
    public BusinessEmployeeEducationHistoryListCloudDto list(BusinessEmployeeEducationHistoryListCloudParam param) {
        return new BusinessEmployeeEducationHistoryListCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent create(BusinessEmployeeEducationHistoryCreateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent update(BusinessEmployeeEducationHistoryUpdateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent delete(BusinessEmployeeEducationHistoryDeleteCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }
}
